# -*- coding: UTF-8 -*-
# cython: language_level=3

# 数据库相关
# [MongoDB]
MONGO_USER = 'root'
MONGO_PASS = "pattek_123456"
MONGO_URI = f"mongodb://{MONGO_USER}:{MONGO_PASS}@192.168.0.17:20000,192.168.0.18:20000,192.168.0.37:20000/" \
            f"?replicaSet=rs0&ssl=false&authSource=admin&readPreference=secondaryPreferred"
MONGO_DB = 'wuzheng'

# [MYSQL]
MYSQL_IP = '10.142.37.233'
MYSQL_PORT = 3306
MYSQL_DB = 'zjifms'
MYSQL_USER = 'pattek'
MYSQL_PASSWD = 'Pattek@123456'

# [oracledb]
ORCL_IP = '192.168.0.50'
ORCL_PORT = 1521
ORCL_DB = 'orcl'
ORCL_USER = 'cdgd'
ORCL_PASSWD = 'cdgd2014'

# [elasticsearch]
# 多个逗号分隔
es_address = 'http://192.168.0.6:9200'
es_user = 'user'
es_passwd = 'BIoTuEHygd8ns'

# [wuzheng_keywords]
Area_icp = '浙'
Area = '浙江'
Divisions = [
    "杭州市", "宁波市", "温州市", "嘉兴市", "湖州市", "绍兴市", "金华市", "衢州市", "舟山市", "台州市", "丽水市",
    "上城区", "拱墅区", "西湖区", "滨江区", "萧山区", "余杭区", "临平区", "钱塘区", "富阳区", "临安区", "桐庐县",
    "淳安县", "建德市", "海曙区", "江北区", "北仑区", "镇海区", "鄞州区", "奉化区", "象山县", "宁海县", "余姚市",
    "慈溪市", "鹿城区", "龙湾区", "瓯海区", "洞头区", "永嘉县", "平阳县", "苍南县", "文成县", "泰顺县", "瑞安市",
    "乐清市", "龙港市", "南湖区", "秀洲区", "嘉善县", "海盐县", "海宁市", "平湖市", "桐乡市", "吴兴区", "南浔区",
    "德清县", "长兴县", "安吉县", "越城区", "柯桥区", "上虞区", "新昌县", "诸暨市", "嵊州市", "婺城区", "金东区",
    "武义县", "浦江县", "磐安县", "兰溪市", "义乌市", "东阳市", "永康市", "柯城区", "衢江区", "常山县", "开化县",
    "龙游县", "江山市", "定海区", "普陀区", "岱山县", "嵊泗县", "椒江区", "黄岩区", "路桥区", "三门县", "天台县",
    "仙居县", "温岭市", "临海市", "玉环市", "莲都区", "青田县", "缙云县", "遂昌县", "松阳县", "云和县", "庆元县",
    "景宁畲族自治县", "龙泉市"
]

# print(len(Divisions)==len(set(Divisions)))

# 北京,天津,上海,重庆
# 黑龙江,哈尔滨,阿城,双城,尚志,五常,齐齐哈尔,讷河,鸡西,虎林,密山,鹤岗,双鸭山,大庆,伊春,铁力,佳木斯,同江,富锦,七台河,牡丹江,海林,宁安,穆棱,黑河,北安,五大连池,绥化,安达,肇东,海伦
# 吉林,长春,九台,榆树,德惠,吉林,蛟河,桦甸,舒兰,磐石,四平,公主岭,双辽,辽源,通化,梅河口,集安,白山,临江,松原,白城,洮南,大安,延吉,图们,敦化,珲春,龙井,和龙
# 辽宁,沈阳,新民,大连,瓦房店,普兰店,庄河,鞍山,海城,抚顺,本溪,丹东,东港,凤城,锦州,凌海,北宁,营口,盖州,大石桥,阜新,辽阳,灯塔,盘锦,铁岭,调兵山,开原,朝阳,北票,凌源,葫芦岛,兴城
# 内蒙古自治区,呼和浩特,包头,乌海,赤峰,通辽,霍林郭勒,鄂尔多斯,呼伦贝尔,满洲里,牙克石,扎兰屯,额尔古纳,根河,巴彦淖尔,临河,乌兰察布,集宁,丰镇,乌兰浩特,阿尔山,二连浩特,锡林浩特
# 新疆维吾尔自治区,乌鲁木齐,克拉玛依,吐鲁番,哈密,昌吉,阜康,米泉,博乐,库尔勒,阿克苏,阿图什,喀什,和田,伊宁,奎屯,塔城,乌苏,阿勒泰,青海,西宁,西藏自治区,拉萨
# 甘肃,兰州,嘉峪关,金昌,白银,天水,武威,张掖,平凉,酒泉,玉门,敦煌,庆阳,西峰,定西,陇南,临夏,合作,宁夏回族自治区,银川,灵武,石嘴山,吴忠,青铜峡,固原,中卫
# 陕西,西安,铜川,宝鸡,咸阳,渭南,韩城,华阴,延安,汉中,榆林,安康,商洛,山西,太原,古交,大同,阳泉,长治,潞城,晋城,高平,朔州,晋中,介休,运城,永济,河津,忻州,原平,临汾,侯马,霍州,吕梁,孝义,汾阳
# 河北,石家庄,辛集,藁城,晋州,新乐,鹿泉,唐山,遵化,迁安,秦皇岛,邯郸,武安,邢台,南宫,沙河,保定,涿州,定州,安国,高碑店,承德,沧州,泊头,任丘,黄骅,河间,廊坊,霸州,三河,衡水,冀州,深州
# 山东,济南,章丘,青岛,胶州,即墨,平度,胶南,莱西,淄博,枣庄,滕州,东营,烟台,龙口,莱阳,莱州,蓬莱,招远,栖霞,海阳,潍坊,青州,诸城,寿光,安丘,高密,昌邑,济宁,曲阜,兖州,邹城,泰安,新泰,肥城,威海,文登,荣成,乳山,日照,莱芜,临沂,德州,乐陵,禹城,聊城,临清,滨州,菏泽
# 江苏,南京,无锡,江阴,宜兴,徐州,新沂,邳州,常州,溧阳,金坛,苏州,常熟,张家港,昆山,吴江,太仓,南通,启东,如皋,通州,海门,连云港,淮安,盐城,东台,大丰,扬州,仪征,高邮,江都,镇江,丹阳,扬中,句容,泰州,兴化,靖江,泰兴,姜堰,宿迁
# 安徽,合肥,芜湖,蚌埠,淮南,马鞍山,淮北,铜陵,安庆,桐城,黄山,滁州,天长,明光,阜阳,界首,宿州,巢湖,六安,毫州,池州,宣城,宁国
# 河南,郑州,巩义,荥阳,新密,新郑,登封,开封,洛阳,偃师,平顶山,汝州,安阳,林州,鹤壁,新乡,卫辉,辉县,焦作,济源,沁阳,孟州,濮阳,许昌,禹州,长葛,漯河,三门峡,义马,灵宝,南阳,邓州,商丘,永城,信阳,周口,项城,驻马店
# 湖北,武汉,黄石,大冶,十堰,丹江口,宜昌,宜都,当阳,枝江,襄樊,老河口,枣阳,宜城,鄂州,荆门,钟祥,孝感,应城,安陆,汉川,荆州,石首,洪湖,松滋,黄冈,麻城,武穴,咸宁,赤壁,随州,广水,恩施,利川,仙桃,潜江,天门
# 四川,成都,都江堰,彭州,邛崃,崇州,自贡,攀枝花,泸州,德阳,广汉,什邡,绵竹,绵阳,江油,广元,遂宁,内江,乐山,峨眉山,南充,阆中,眉山,宜宾,广安,华蓥,达州,万源,雅安,巴中,资阳,简阳,西昌
# 云南,昆明,安宁,曲靖,宣威,玉溪,保山,昭通,丽江,思茅,临沧,楚雄,个旧,开远,大理,瑞丽,贵州,贵阳,清镇,六盘水,遵义,赤水,仁怀,安顺,铜仁地区,铜仁,兴义,毕节,凯里,都匀,福泉
# 湖南,长沙,浏阳,株洲,醴陵,湘潭,湘乡,韶山,衡阳,耒阳,常宁,邵阳,武冈,岳阳,汨罗,临湘,常德,津,张家界,益阳,沅江,郴州,资兴,永州,怀化,洪江,娄底,冷水江,涟源,吉首
# 江西,南昌,乐平,萍乡,九江,瑞昌,新余,鹰潭,贵溪,赣州,瑞金,南康,吉安,井冈山,宜春,丰城,樟树,高安,抚州,上饶,德兴
# 浙江,杭州,建德,富阳,临安,宁波,余姚,慈溪,奉化,温州,瑞安,乐清,嘉兴,海宁,平湖,桐乡,湖州,绍兴,诸暨,上虞,嵊州,金华,兰溪,义乌,东阳,永康,衢州,江山,舟山,台州,温岭,临海,丽水,龙泉
# 福建,福州,福清,长乐,厦门,莆田,三明,永安,泉州,石狮,晋江,南安,漳州,龙海,南平,邵武,武夷山,建瓯,建阳,龙岩,漳平,宁德,福安,福鼎
# 广东,广州,增城,从化,韶关,乐昌,南雄,深圳,珠海,汕头,澄海,佛山,江门,台山,开平,鹤山,恩平,湛江,廉江,雷州,吴川,茂名,高州,化州,信宜,肇庆,高要,四会,惠州,梅州,兴宁,汕尾,陆丰,河源,阳江,阳春,清远,英德,连州,东莞,中山,潮州,揭阳,普宁,云浮,罗定
# 广西壮族自治区,南宁,柳州,桂林,梧州,岑溪,北海,防城港,东兴,钦州,贵港,桂平,玉林,北流,百色,贺州,河池,宜州,来宾,合山,崇左,凭祥
# 海南,海口,琼山,三亚
